package concurrent;

/**
 * @author Created by chenxin34 on 2020/3/9 下午6:17.
 */
public class ObjectWaitTest {
    public static void main(String[] args) {
        Object a = new Object();
        try {
            a.wait(1000);
            System.out.println("#2");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
